package com.emm.yixun.openapi.hander;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.emm.yixun.common.app.GetGroupHeroListReqDto;
import com.emm.yixun.common.app.GetGroupHeroListResDto;
import com.emm.yixun.customer.service.app.CustomerServiceAppFacade;
import com.emm.yixun.openapi.dto.base.BaseRequestDTO;
import com.emm.yixun.openapi.dto.base.BaseResponseDTO;
import com.emm.yixun.openapi.vo.GetGroupHeroListReqVo;

/**
 * （5）查询销售组英雄榜信息(getGroupHeroList)
 * @author Administrator
 *
 */
@Service("getGroupHeroListHander")
public class GetGroupHeroListHander extends com.emm.yixun.openapi.hander.base.CommonAbstractHander{
	
	@Autowired
	private CustomerServiceAppFacade customerServiceAppFacade;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseResponseDTO doBusiness(BaseRequestDTO reqDto) {
		GetGroupHeroListReqVo req = (GetGroupHeroListReqVo)reqDto;
		GetGroupHeroListReqDto reqDto1 = req.getParams();
		BaseResponseDTO<GetGroupHeroListResDto> res = new BaseResponseDTO<GetGroupHeroListResDto>();
		res.setResData(customerServiceAppFacade.getGroupHeroList(reqDto1));
		return res;
	}
	
}
